/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Double;

/**
 *
 * @author gamas
 */
public class equals {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Double x=45.6d;
        Double y=45.6d;
        System.out.println("resultado="+ x.equals(y));

//regresa un tru si los dos objetos double son iguales de lo contrario
//regresa un true
    }

}
